
<{include file="www/header.tpl"}>
<{include file="www/header-base.tpl"}>

<nav class="base-nav">
    <ul class="nav fix">
        <li class="li"><a href="/tourist/orders" <{if $step == 'orders_activity' || $step == 'orders_track' || $step == 'order_detail'}>class="active"<{/if}> >预定记录</a></li>
        <li class="li"><a href="/tourist/info" class="info" <{if $step == 'info'}>class="active"<{/if}> >基本信息</a></li>
        <li class="li"><a href="/tourist/credit" class="credit" <{if $step == 'credit'}>class="active"<{/if}> >邮箱认证</a></li>
    </ul>
</nav>

<{if $step == 'order_detail'}>
    <!-- 已支付的订单列表 -->
    <{include file="www/tourist/order_detail.tpl"}>
<{else}>
    <div class="ucenter fix">
        <div class="sidebar">
            <{if $step != 'order_detail'}>
            <{include file="www/tourist/left_menu.tpl"}>
            <{/if}>
        </div>
        <div class="main">
            <{if $step == 'add_info'}>
                <{include file="www/tourist/add_info.tpl"}>
            <{elseif $step == 'edit_info'}>
                <{include file="www/tourist/edit_info.tpl"}>
            <{elseif $step == 'user_info'}>
                <{include file="www/tourist/user_info.tpl"}>
            <{elseif $step == 'credit'}>
                <{include file="www/tourist/active.tpl"}>
            <{elseif $step == 'subscribe_update'}>
                <{include file="www/tourist/edit.tpl"}>
            <{elseif $step == 'message_list'}>
                <{include file="www/tourist/message_list.tpl"}>
            <{elseif $step == 'subscribe'}>
                <{include file="www/tourist/subscribe.tpl"}>
            <{elseif $step == 'confirm'}>
                <{include file="www/tourist/confirm.tpl"}>
            <{elseif $step == 'notice'}>
                <{include file="www/tourist/notice.tpl"}>
            <{elseif $step == 'orders_activity'}>
                <{include file="www/tourist/orders_activity.tpl"}>
            <{elseif $step == 'orders_track'}>
                <{include file="www/tourist/orders_track.tpl"}>

            <{elseif $step == 'line_comments'}><!--评论列表-->
                <{include file="www/tourist/line_comments.tpl"}>
            <{elseif $step == 'add_line_comment'}><!--添加评论-->
            <{include file="www/tourist/add_line_comment.tpl"}>
            <{elseif $step == 'show_line_comment'}><!--展示评论-->
            <{include file="www/tourist/show_line_comment.tpl"}>
            <{/if}>
        </div>
    </div>
<{/if}>

<{include file="www/footer.tpl"}>
